package com.alibaba.citrus.ots.unified.inventory.api;

import com.alibaba.citrus.ots.unified.inventory.dto.api.request.*;
import com.alibaba.citrus.ots.unified.inventory.dto.api.response.*;
import com.alibaba.cz.base.tool.result.Result;
import com.alibaba.lattice2.epoch.meshflow.model.annotation.MeshFlowService;

/**
 * @description: 调拨单写服务
 * @author: yuhw
 * @date: 2021年08月25日 21:05
 **/
@MeshFlowService(apps = {"bc_ots"})
public interface AllocateRelationWriteService {
    /**
     * 创建供货关系 王成
     * @param
     * @return
     */
    Result<CreateAllocateRelationResponse> createAllocateRelation(CreateAllocateRelationRequest createAllocateRelationRequest);


    /**
     * 删除供货关系 王成
     * @param
     * @return
     */
    Result<DeleteAllocateRelationResponse> deleteAllocateRelation(DeleteAllocateRelationRequest deleteAllocateRelationRequest);
}
